[INFO] cloning repository https://github.com/atraber/rust-riscv-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atraber/rust-riscv-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 028e59ceb8bf5c2b1a7cd4c5e1e1d80148e678f9
[INFO] checking atraber/rust-riscv-sim against try#7dabc88a3b6768751847baeb49983f31ac5f20e2 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/atraber/rust-riscv-sim
[INFO] finished tweaking git repo https://github.com/atraber/rust-riscv-sim
[INFO] tweaked toml for git repo https://github.com/atraber/rust-riscv-sim written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/atraber/rust-riscv-sim on toolchain 7dabc88a3b6768751847baeb49983f31ac5f20e2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/atraber/rust-riscv-sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/cole14/rust-elf`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking atraber/rust-riscv-sim against try#7dabc88a3b6768751847baeb49983f31ac5f20e2 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatraber%2Frust-riscv-sim" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/atraber/rust-riscv-sim
[INFO] finished tweaking git repo https://github.com/atraber/rust-riscv-sim
[INFO] tweaked toml for git repo https://github.com/atraber/rust-riscv-sim written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/atraber/rust-riscv-sim on toolchain 7dabc88a3b6768751847baeb49983f31ac5f20e2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/atraber/rust-riscv-sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v0.5.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b86788b08061dd25d8c9b3bc6167fe40fdfde15f7f2f962158ea3ece435a8713
[INFO] running `Command { std: "docker" "start" "-a" "b86788b08061dd25d8c9b3bc6167fe40fdfde15f7f2f962158ea3ece435a8713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b86788b08061dd25d8c9b3bc6167fe40fdfde15f7f2f962158ea3ece435a8713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b86788b08061dd25d8c9b3bc6167fe40fdfde15f7f2f962158ea3ece435a8713", kill_on_drop: false }`
[INFO] [stdout] b86788b08061dd25d8c9b3bc6167fe40fdfde15f7f2f962158ea3ece435a8713
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f62a1d4ac45efbf8264e7ae67c602ff061df288cf64851b535205c8919c6c4c4
[INFO] running `Command { std: "docker" "start" "-a" "f62a1d4ac45efbf8264e7ae67c602ff061df288cf64851b535205c8919c6c4c4", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking byteorder v0.5.3
[INFO] [stderr]     Checking elf v0.0.10 (https://github.com/cole14/rust-elf#44654da0)
[INFO] [stderr]     Checking riscv-sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:238:18
[INFO] [stdout]     |
[INFO] [stdout] 238 |     let imm0_5 = ((insn >>  2) & 0x1F);
[INFO] [stdout]     |                  ^                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 238 -     let imm0_5 = ((insn >>  2) & 0x1F);
[INFO] [stdout] 238 +     let imm0_5 = (insn >>  2) & 0x1F ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/elf.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     Err(err) => println!("Failed to write to addr 0x{:X}", section.shdr.addr + i),
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for i in 0..100 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:357:17
[INFO] [stdout]     |
[INFO] [stdout] 357 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:392:21
[INFO] [stdout]     |
[INFO] [stdout] 392 |                 Err(e)   => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:415:20
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 Ok(data) => {},
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:416:21
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 Err(e)   => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs2`
[INFO] [stdout]    --> src/main.rs:434:26
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_rs2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs1`
[INFO] [stdout]    --> src/main.rs:434:31
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_rs1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `funct3`
[INFO] [stdout]    --> src/main.rs:434:36
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_funct3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/main.rs:434:44
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                                            ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs1`
[INFO] [stdout]    --> src/main.rs:446:23
[INFO] [stdout]     |
[INFO] [stdout] 446 |             let (imm, rs1, funct3, rd) = decode_i_type(insn);
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_rs1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs1`
[INFO] [stdout]    --> src/main.rs:460:23
[INFO] [stdout]     |
[INFO] [stdout] 460 |             let (imm, rs1, funct3, rd) = decode_i_type(insn);
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_rs1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fpr` and `spr` are never read
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CpuRegisters {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fpr: [u64; 32], // TODO: currently unused
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 27 |     spr: [u64; 4096],
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_sb_type` is never used
[INFO] [stdout]    --> src/main.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn decode_sb_type(insn: u32) -> (i16, usize, usize, u8)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_uj_type` is never used
[INFO] [stdout]    --> src/main.rs:213:4
[INFO] [stdout]     |
[INFO] [stdout] 213 | fn decode_uj_type(insn: u32) -> (u32, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cr_type` is never used
[INFO] [stdout]    --> src/main.rs:225:4
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn decode_cr_type(insn: u32) -> (u8, usize, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_ci_type` is never used
[INFO] [stdout]    --> src/main.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn decode_ci_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_css_type` is never used
[INFO] [stdout]    --> src/main.rs:246:4
[INFO] [stdout]     |
[INFO] [stdout] 246 | fn decode_css_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_ciw_type` is never used
[INFO] [stdout]    --> src/main.rs:255:4
[INFO] [stdout]     |
[INFO] [stdout] 255 | fn decode_ciw_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cl_type` is never used
[INFO] [stdout]    --> src/main.rs:264:4
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn decode_cl_type(insn: u32) -> (u8, i16, usize, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cs_type` is never used
[INFO] [stdout]    --> src/main.rs:277:4
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn decode_cs_type(insn: u32) -> (u8, i16, usize, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cb_type` is never used
[INFO] [stdout]    --> src/main.rs:283:4
[INFO] [stdout]     |
[INFO] [stdout] 283 | fn decode_cb_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cj_type` is never used
[INFO] [stdout]    --> src/main.rs:295:4
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn decode_cj_type(insn: u32) -> (u8, i16)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:238:18
[INFO] [stdout]     |
[INFO] [stdout] 238 |     let imm0_5 = ((insn >>  2) & 0x1F);
[INFO] [stdout]     |                  ^                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 238 -     let imm0_5 = ((insn >>  2) & 0x1F);
[INFO] [stdout] 238 +     let imm0_5 = (insn >>  2) & 0x1F ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/elf.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     Err(err) => println!("Failed to write to addr 0x{:X}", section.shdr.addr + i),
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     for i in 0..100 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:357:17
[INFO] [stdout]     |
[INFO] [stdout] 357 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:392:21
[INFO] [stdout]     |
[INFO] [stdout] 392 |                 Err(e)   => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/main.rs:415:20
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 Ok(data) => {},
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:416:21
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 Err(e)   => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs2`
[INFO] [stdout]    --> src/main.rs:434:26
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_rs2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs1`
[INFO] [stdout]    --> src/main.rs:434:31
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_rs1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `funct3`
[INFO] [stdout]    --> src/main.rs:434:36
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_funct3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rd`
[INFO] [stdout]    --> src/main.rs:434:44
[INFO] [stdout]     |
[INFO] [stdout] 434 |             let (funct7, rs2, rs1, funct3, rd) = decode_r_type(insn);
[INFO] [stdout]     |                                            ^^ help: if this is intentional, prefix it with an underscore: `_rd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs1`
[INFO] [stdout]    --> src/main.rs:446:23
[INFO] [stdout]     |
[INFO] [stdout] 446 |             let (imm, rs1, funct3, rd) = decode_i_type(insn);
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_rs1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rs1`
[INFO] [stdout]    --> src/main.rs:460:23
[INFO] [stdout]     |
[INFO] [stdout] 460 |             let (imm, rs1, funct3, rd) = decode_i_type(insn);
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_rs1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fpr` and `spr` are never read
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CpuRegisters {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fpr: [u64; 32], // TODO: currently unused
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 27 |     spr: [u64; 4096],
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_sb_type` is never used
[INFO] [stdout]    --> src/main.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn decode_sb_type(insn: u32) -> (i16, usize, usize, u8)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_uj_type` is never used
[INFO] [stdout]    --> src/main.rs:213:4
[INFO] [stdout]     |
[INFO] [stdout] 213 | fn decode_uj_type(insn: u32) -> (u32, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cr_type` is never used
[INFO] [stdout]    --> src/main.rs:225:4
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn decode_cr_type(insn: u32) -> (u8, usize, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_ci_type` is never used
[INFO] [stdout]    --> src/main.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn decode_ci_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_css_type` is never used
[INFO] [stdout]    --> src/main.rs:246:4
[INFO] [stdout]     |
[INFO] [stdout] 246 | fn decode_css_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_ciw_type` is never used
[INFO] [stdout]    --> src/main.rs:255:4
[INFO] [stdout]     |
[INFO] [stdout] 255 | fn decode_ciw_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cl_type` is never used
[INFO] [stdout]    --> src/main.rs:264:4
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn decode_cl_type(insn: u32) -> (u8, i16, usize, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cs_type` is never used
[INFO] [stdout]    --> src/main.rs:277:4
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn decode_cs_type(insn: u32) -> (u8, i16, usize, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cb_type` is never used
[INFO] [stdout]    --> src/main.rs:283:4
[INFO] [stdout]     |
[INFO] [stdout] 283 | fn decode_cb_type(insn: u32) -> (u8, i16, usize)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_cj_type` is never used
[INFO] [stdout]    --> src/main.rs:295:4
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn decode_cj_type(insn: u32) -> (u8, i16)
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "f62a1d4ac45efbf8264e7ae67c602ff061df288cf64851b535205c8919c6c4c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f62a1d4ac45efbf8264e7ae67c602ff061df288cf64851b535205c8919c6c4c4", kill_on_drop: false }`
[INFO] [stdout] f62a1d4ac45efbf8264e7ae67c602ff061df288cf64851b535205c8919c6c4c4
